module GalleriesHelper
  def gallery_name_value
    if action_name == "show"
      h @gallery.name 
    else
      text_field :gallery, :name
    end
  end

  def gallery_description_value
    if action_name == "show"
      h @gallery.description 
    else
      text_area :gallery, :description
    end
  end

end
